package cn.tedu.ideaspringboot;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author :Colin
 * @version 创建时间: 2021/7/13 11:56
 */
@RestController
@RequestMapping("li")
public class HelloBoot {
    @RequestMapping("hi")
    public String hello(){
        return "hello spring boot";
    }
    @RequestMapping("Colin")
    public String colin(){
        return "Colin is my father";
    }
}
